package com.zeroxml.cms.web.action.admin;

import com.zeroxml.cms.web.action.BaseAdminAction;
import net.sourceforge.stripes.action.DefaultHandler;
import net.sourceforge.stripes.action.Resolution;
import net.sourceforge.stripes.action.UrlBinding;
import net.sourceforge.stripes.action.HandlesEvent;

/**
 * User: cjp
 * Date: 2007-9-9
 * Time: 20:26:16
 */
@UrlBinding("/admin/control.do")
public class ControlAction extends BaseAdminAction {
    @DefaultHandler
    public Resolution controlPanel() {
        return getAdminResolution("controlPanel");
    }

    @HandlesEvent("left")
    public Resolution controlPanelLeft() {
        return getAdminResolution("taskMenu");
    }
}
